package com.example.demo.mapper;

import com.example.demo.common.domain.Horder;
import com.example.demo.common.domain.HorderExample;
import java.util.List;
import org.apache.ibatis.annotations.Param;
import org.springframework.stereotype.Repository;

@Repository
public interface HorderMapper {
    long countByExample(HorderExample example);

    int deleteByExample(HorderExample example);

    int deleteByPrimaryKey(String orderNumber);

    int insert(Horder record);

    int insertSelective(Horder record);

    List<Horder> selectByExample(HorderExample example);

    Horder selectByPrimaryKey(String orderNumber);

    int updateByExampleSelective(@Param("record") Horder record, @Param("example") HorderExample example);

    int updateByExample(@Param("record") Horder record, @Param("example") HorderExample example);

    int updateByPrimaryKeySelective(Horder record);

    int updateByPrimaryKey(Horder record);
}